﻿using System;

namespace MessagePack
{
	// Token: 0x02000002 RID: 2
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
	public class MessagePackObjectAttribute : Attribute
	{
		// Token: 0x06000001 RID: 1 RVA: 0x00002342 File Offset: 0x00000742
		public MessagePackObjectAttribute(bool keyAsPropertyName = false)
		{
			this.KeyAsPropertyName = keyAsPropertyName;
		}

		// Token: 0x17000001 RID: 1
		// (get) Token: 0x06000002 RID: 2 RVA: 0x00002351 File Offset: 0x00000751
		// (set) Token: 0x06000003 RID: 3 RVA: 0x00002359 File Offset: 0x00000759
		public bool KeyAsPropertyName { get; private set; }
	}
}
